<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>


<script>
    // 创建一个Socket实例
    ws = new WebSocket('ws://wechat.com:8080');
</script>
</body>
</html>